package com.bknc.example;

import android.app.Activity;
import android.os.Bundle;
import android.view.SurfaceView;
import android.view.Window;
import com.bknc.example.MainSurfaceView;

public class SurfaceEx extends Activity{
    private static final String LOG = "MainActivity";
    
    private MainSurfaceView     mMainSurface;   
 
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
 
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_main2);
 
        //get surfaceView on Layout
        SurfaceView surface;
        surface = (SurfaceView)findViewById(R.id.SurfaceViewMain);
        mMainSurface = new MainSurfaceView(this, surface);
    }

}
